{% load static from staticfiles %}


<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="{% static 'web/static/css/common.css' %}">
    <link rel="stylesheet" href="{% static 'web/node_modules/bootstrap/dist/css/bootstrap.css' %}">
</head>
<body>
    <div class="container">
        <h1 class="form-heading">login Form</h1>
        <div class="login-form">
            <div class="main-div">
                <div class="panel">
                    <h2>登录</h2>
                </div>
                <form id="Login" action="{% url 'web_dologin' %}" method="post" >
                {% csrf_token %}

                    <div class="form-group">
                        <input type="text" name="username" class="form-control"  placeholder="登录账号">
                    </div>
                    <div class="form-group">
                        <input type="password" name="password"class="form-control" placeholder="登录密码">
                    </div>
                    <div class="forgot">
                        <a href="reset.html">忘记密码?</a>
                    </div>
                    <button type="submit" class="btn btn-primary">登录</button>
                </form>
            </div>
            <p class="botto-text"> Designed by Jack张</p>
        </div>
    </div>
    {{info}}
    <script src="{% static 'web/static/js/jquery.min.js' %}"></script>
    <script src="{% static 'web/node_modules/bootstrap/dist/js/bootstrap.min.js' %}"></script>
</body>
</html>